package com.jackstraw.jack_base.datasource.moredatasource.bean;

import com.alibaba.druid.filter.Filter;
import com.alibaba.druid.pool.DruidDataSource;
import com.jackstraw.jack_base.datasource.database.parten.entity.DataBaseEntity;
import lombok.Data;

import java.util.List;


@Data
public class DruidDataBaseEntity extends DataBaseEntity<DruidDataBaseEntity> {

    /**
     * 类型是List<com.alibaba.druid.filter.Filter>，如果同时配置了filters和proxyFilters，是组合关系，并非替换关系
     */
    private List<Filter> proxyFilters;

    public DruidDataBaseEntity() {
        this.setType(DruidDataSource.class);
    }


}
